package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.vo.PageBeanVo;
import org.bson.types.ObjectId;

public interface CommentService {

    //添加评论
    Integer saveMovementComment(Comment comment);

    //删除评论
    Integer deleteMovementComment(Comment comment);

    //查询指定动态的评论列表
    PageBeanVo findMovementCommentList(String movementId, Integer pageNum, Integer pageSize);

    //统计评论信息
    PageBeanVo countCommentInfo(Long userId, Integer commentType, Integer pageNum, Integer pageSize);

    Integer updateComment(Comment comment);

    Comment findMovementCommentLike(ObjectId commentId);

    void deleteVideoLike(Comment comment);

    PageBeanVo findVideoComments(String videoId, Integer pageNum, Integer pageSize);

    void saveVideoComment(Comment comment);

    void saveVideoLikeComment(Comment comment);

}
